<?php


namespace app\web\controller;


use think\Controller;
use think\Env;

class AppDemo extends Controller
{
    public function custom_report()
    {
        $ossHost = Env::get('host.photo');
        $report_demo = $ossHost . 'custom_reports/img/demo.png';
        return $this->fetch('custom_report', ['report_demo' => $report_demo]);
    }

    public function acquired_astro()
    {
        $ossHost = Env::get('host.photo');

        $contentUtlList = [
            $ossHost . '/test/acquired_astro/demo/demo1.png',
            $ossHost . '/test/acquired_astro/demo/demo2.png',
            $ossHost . '/test/acquired_astro/demo/demo3.png',
            $ossHost . '/test/acquired_astro/demo/demo4.png',
            $ossHost . '/test/acquired_astro/demo/demo5.png',
            $ossHost . '/test/acquired_astro/demo/demo6.png',
            $ossHost . '/test/acquired_astro/demo/demo7.png',
            $ossHost . '/test/acquired_astro/demo/demo8.png',
            $ossHost . '/test/acquired_astro/demo/demo9.png',
            $ossHost . '/test/acquired_astro/demo/demo10.png',
            $ossHost . '/test/acquired_astro/demo/demo11.png',
        ];

        return $this->fetch('acquired_astro', [
            'url_list' => $contentUtlList,
        ]);
    }
}
